
#include"Ctriangle.h"
void CTriangle::setValues(int a, int b)
{
	width = a;
	height = b;
}
int CTriangle::area()
{
	return(width*height / 2);
}